package syllabus.service;

import java.util.List;
import syllabus.model.Criteria;
import syllabus.model.PRole;

public interface PRoleService {
    int countByExample(Criteria example);

    PRole selectByPrimaryKey(Integer id);

    List<PRole> selectByExample(Criteria example);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PRole record);

    int updateByPrimaryKey(PRole record);

    int deleteByExample(Criteria example);

    int updateByExampleSelective(PRole record, Criteria example);

    int updateByExample(PRole record, Criteria example);

    int insert(PRole record);

    int insertSelective(PRole record);
    
    List<PRole> getRoles(Criteria c);
}